package wty.sample.framework.flow;

import wty.framework.flow.*;

public class CopyCDRToWorkingSpaceState extends AbstractState {
	@Override
	protected AbstractState process(FlowSession session) {
		System.out.println("複製CDR檔案至平台工作目錄。");
		if(Utils.rand.nextBoolean()) {
			System.out.println("複製成功。");
			return new StartPricingState();
		} else {
			System.out.println("複製失敗。");
			return null;
		}
	}
}
